// const buf1 = new Buffer('gkd');
//console.log(buf1);
const buf2 = Buffer.from('gkd');
console.log(buf2);
const buf3 = Buffer.from('你好啊');
console.log(buf3);

const buf4 = Buffer.from('你好啊');
const res = buf4.toString('utf8');
console.log(res);

